/<template>
    <van-image
        width="100%"
        height="160"
        lazy-load
        :src="src"
    >
        <template v-slot:loading>
            <van-loading type="spinner" size="20" />
        </template>
        <template v-slot:error>加载失败</template>
    </van-image>
</template>

<script>
export default {
    props: {
        src: {
            type: String,
            default: ''
        }
    }
}
</script>

<style>

</style>